<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <title>{$cats.seo_title}</title>
    <meta name="keywords" content="{$cats.seo_kw}"/>
    <meta name="description" content="{$cats.seo_desc}"/>
    <link rel="stylesheet" href="__STATIC__/themes/__THEME__/js/bootstrap/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="__STATIC__/themes/__THEME__/css/style.css?v={:site_ver()}"/>
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container">
        <div class="navbar-header ">
            <a href="{:url('index/index')}" class="navbar-brand"><img src="{$site.site_logo}" height="35" alt="{$site.site_name}"/></a>
            <button class="navbar-toggle collapsed" data-toggle='collapse' data-target='.collapse'>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
        </div>
        {php $menu=widget('common.menu')->get()}
        <div class="collapse navbar-collapse">
            <ul class="nav navbar-nav">
                <li {:nav_active('index')}><a href="{:url('index/index')}">首页</a></li>
                {foreach $menu as $nav}
                <li {:nav_active($nav['sign'])}><a href="{$nav.href}" title="{$nav.title}" target="{$nav.target}">{$nav.title}</a></li>
                {/foreach}
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li><a class="nav-link" href="__ROOT__/admin.php" target="_blank">后台</a></li>
                <li><a class="nav-link" href="https://qm.qq.com/cgi-bin/qm/qr?k=U7SzseDDXSbG9sB1CTEf5U10oFJOKR8-&jump_from=webapi" target="_blank">QQ群</a></li>
            </ul>
        </div>
    </div>
</nav>
<div class="clearfix" style="height:51px;"></div>